package com.asset.entity.approval;

import java.util.Date;

/**
 * 审批记录对象
 * 将对象存放在审批记录表里
 *
 * */
public class Record {

    //审批编号
    private String number;

    //申请编号（购置，处置）
    private String applicationNumber;

    //审批部门id
    private String approvalRoleId;

    //审核意见
    private String reviewComments;

    //审核时间
    private Date approvalTime;

    //审批结果
    private Integer result;

    //总金额
    private Double allMoney;

    //单价
    private Double oneMoney;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getApplicationNumber() {
        return applicationNumber;
    }

    public void setApplicationNumber(String applicationNumber) {
        this.applicationNumber = applicationNumber;
    }

    public String getApprovalRoleId() {
        return approvalRoleId;
    }

    public void setApprovalRoleId(String approvalRoleId) {
        this.approvalRoleId = approvalRoleId;
    }

    public String getReviewComments() {
        return reviewComments;
    }

    public void setReviewComments(String reviewComments) {
        this.reviewComments = reviewComments;
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public Double getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(Double allMoney) {
        this.allMoney = allMoney;
    }

    public Double getOneMoney() {
        return oneMoney;
    }

    public void setOneMoney(Double oneMoney) {
        this.oneMoney = oneMoney;
    }

    @Override
    public String toString() {
        return "Record{" +
                "number='" + number + '\'' +
                ", applicationNumber='" + applicationNumber + '\'' +
                ", approvalRoleId='" + approvalRoleId + '\'' +
                ", reviewComments='" + reviewComments + '\'' +
                ", approvalTime=" + approvalTime +
                ", result=" + result +
                ", allMoney=" + allMoney +
                ", oneMoney=" + oneMoney +
                '}';
    }

    public Record(String number, String applicationNumber, String approvalRoleId, String reviewComments, Date approvalTime, Integer result, Double allMoney, Double oneMoney) {
        this.number = number;
        this.applicationNumber = applicationNumber;
        this.approvalRoleId = approvalRoleId;
        this.reviewComments = reviewComments;
        this.approvalTime = approvalTime;
        this.result = result;
        this.allMoney = allMoney;
        this.oneMoney = oneMoney;
    }


    public Record() {
    }
}
